package com.mike.billingserver.enums;

import lombok.Getter;

/**
 * @author xiaozefeng
 * @date 12/12/18 1:30 PM
 */
@Getter
public enum ResultEnum {

    /**
     * 枚举
     */
    INCORRECT_TOKEN(20001, "无效token"),

    INCORRECT_PASSWORD(20001, "密码错误"),
    USER_NOT_EXISTS(20002, "用户不存在"),
    ;

    private int code;

    private String msg;

    ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
